import request from '@/utils/request'

const api_name = '/centerEdu/member'

export default {
  // 根据手机号码发送短信 TODO
  //根据手机号码发送短信
  getMobile(mobile) {
    return request({
      url: `/api/msm/send/${mobile}`,
      method: 'get'
    })
  },
  
  // 会员注册
  registerMember(formItem) {
    return request({
      url: `${api_name}/register`,
      method: 'post',
      data: formItem
    })
  }
}